<%@ page language="java" pageEncoding="utf-8"%>
<%@taglib uri="/WEB-INF/page-base.tld" prefix="p"%>
<script>
function userpwd_edit(){
	if($getByName('userpwd2',$w.currWinForm()).val()!=$getByName('newPwd',$w.currWinForm()).val())
	{
		$w.alertMsg("密码不一致");
		return false;
	}
	return $w.doWinForm();
}
</script>
<div class="easyui-panel" data-options="doSize:false,layoutH:43,border:false" style="margin-top:5px;margin-left:5px ">
	<form method="post" action="/platform/user/UserManagePage.page">
		<p:hidden bind="bean.userid"/>
  		<p:hidden bind="actions"/>
  		<div class="ui-formContent">
  			<p >
				<label style="width:80px">新密码：</label>
				<p:text bind="newPwd" style="width:140px" type="password" styleClass="easyui-validatebox" dataOptions="required:true"/>
				<span class="inputInfo">用户新的密码</span>
			</p>
			<p >
				<label style="width:80px">确认新密码：</label>
				<input name="userpwd2" style="width:140px" type="password" class="easyui-validatebox" data-options="required:true"/>
				<span class="inputInfo">再一次输入新密码</span>
			</p>
			
		</div>
		
	</form>
</div>
<div class="ui-buttonBar">
	<a href="#" class="easyui-linkbutton" iconCls="icon_save" onclick="userpwd_edit()">提 交</a>
	<a href="#" class="easyui-linkbutton" iconCls="icon_cancel" onclick="$w.closeCurrWin()">取 消</a>
</div>